<template>
  <div class="dosth">
    <!-- 操作日志页面 -->
    <div class="forlist" v-for="item in logVoList" :key="item.index">
      <img src="@/assets/dosth.png" alt="" />
      <div class="docontent">
        {{ item.name }}&nbsp;&nbsp;&nbsp;{{ item.createtime }}
      </div>
      <!-- <div class="time">{{ item.createtime }}</div> -->
    </div>
  </div>
</template>

<script>
export default {
  name: 'do-sth',
  props: {
    logVoList: {
      type: [Object, Array],
      required: true
    }
  },
  data() {
    return {
      // list: this.logVoList
    };
  },
  created() {
    // console.log(this.logVoList, '1');
  }
};
</script>

<style lang="less" scoped>
.dosth {
  text-align: left;
  height: 450px;
  margin-top: 20px;
  padding-left: 40px;
  padding-bottom: 20px;
  overflow: auto;
  .forlist {
    margin: 0;
    height: 50px;
    line-height: 25px;
    display: flex;
    align-items: center;
    color: #555;
    img {
      width: 30px;
      margin-right: 10px;
    }
    .docontent {
      margin-right: 20px;
      font-size: 12px;
    }
    .time {
      font-size: 12px;
    }
  }
}
</style>
